			<div id="top_sub_menu">
				<ul>
					<li>
						<div class="oniSelect" onclick="javascript:oniSelect(this);">
							<span><?php echo $media_type_text;?></span>
							<div class="oniSelectList">
								<div><a href="<?php echo base_url().$type.'/all/'.$genre.'/';?>">&rarr; ศิลปินทั้งหมด</a></div>
								<div><a href="<?php echo base_url().$type.'/thai/'.$genre.'/';?>">&rarr; ศิลปินไทย</a></div>
								<div><a href="<?php echo base_url().$type.'/inter/'.$genre.'/';?>">&rarr; ศิลปินสากล</a></div>
								<div><a href="<?php echo base_url().$type.'/asian/'.$genre.'/';?>">&rarr; ศิลปินเอเชียน</a></div>
							</div>
						</div>
					</li>
					<li><a href="<?php echo base_url().'new_released/'.$media_type.'/'.$genre.'/';?>" <?php echo ($this->router->method=="new_released" ? 'class="active"':'');?>>ศิลปินใหม่ล่าสุด</a></li>
					<li><a href="<?php echo base_url().'recommend/'.$media_type.'/'.$genre.'/';?>" <?php echo ($this->router->method=="recommend" ? 'class="active"':'');?>>ศิลปินแนะนำ</a></li>					
					<li><a href="<?php echo base_url().'hit/'.$media_type.'/'.$genre.'/';?>" <?php echo ($this->router->method=="hit" ? 'class="active"':'');?>>ศิลปินยอดนิยม</a></li>
					<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
					<li>
						<div class="oniSelect" onclick="javascript:oniSelect(this);">
							<span><?php echo $genre_text;?></span>
							<div class="oniSelectList rowsList">
								<div class="rows0">
								<div><a href="<?php echo base_url().$type.'/'.$media_type.'/all/';?>">&rarr; แนวศิลปินทั้งหมด</a></div>
								<?php foreach($dataGenre as $key => $value):?>
									<?php if($key == 10 || ($key+1)%11 == 0):?>
										<?php echo '</div><div class="rows'.floor(($key+1)/11).'">';?>
									<?php endif;?>
									<div><a href="<?php echo base_url().$type.'/'.$media_type.'/'.$value->genre_alias.'/';?>">&rarr; <?php echo $value->genre_name;?></a></div>
								<?php endforeach;?>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="alphabet">
							<div class="alphabet_thai btn" onclick="javascript:oniSelect(this);">
								<div class="alphabetThai oniSelectList" <?php echo ($this->uri->segment(4) == "t" ? 'style="display:block;"':'');?>>
									<a href="<?php echo base_url().$type.'/'.$media_type.'/'.$genre.($this->uri->segment(4) == "t" && $this->uri->segment(5) == 'other' ? '':'/t/other/');?>" class="alphabet_thai n0 <?php echo ($this->uri->segment(4) == "t" && $this->uri->segment(5) == 'other' ? 'alphabetActive':'');?>"></a>
									<?php $thaichar = array('ก','ข','ค','ฆ','ง','จ','ฉ','ช','ซ','ฌ','ญ','ฐ','ฑ','ฒ','ณ','ด','ต','ถ','ท','ธ','น','บ','ป','ผ','ฝ','พ','ฟ','ภ','ม','ย','ร','ล','ว','ศ','ษ','ส','ห','ฬ','อ','ฮ');?>
									<?php foreach($thaichar as $key => $i):?>
										<a href="<?php echo base_url().$type.'/'.$media_type.'/'.$genre.(urldecode($this->uri->segment(5)) == $i ? '':'/t/'.$i.'/');?>" class="alphabet_thai n<?php echo ($key+1);?> <?php echo (urldecode($this->uri->segment(5)) == $i ? 'alphabetActive':'');?>"></a>
									<?php endforeach;?>
									<span class="alphabet_eng arrow"></span>
									<div class="clear"></div>	
								</div>								
							</div>
							<div class="alphabet_eng btn" onclick="javascript:oniSelect(this);">
								<div class="alphabetEng oniSelectList" <?php if($this->uri->segment(4) == "e") echo 'style="display:block;"';?>>
									<a href="<?php echo base_url().$type.'/'.$media_type.'/'.$genre.($this->uri->segment(4) == "e" && $this->uri->segment(5) == 'other' ? '':'/e/other/');?>"  class="alphabet_eng n0 <?php echo ($this->uri->segment(4) == "e" && $this->uri->segment(5) == 'other' ? 'alphabetActive':'');?>"></a>
									<?php foreach(range('a','z') as $key => $i):?>
										<a href="<?php echo base_url().$type.'/'.$media_type.'/'.$genre.(urldecode($this->uri->segment(5)) == $i ? '':'/e/'.$i.'/');?>" class="alphabet_eng n<?php echo ($key+1);?> <?php echo (urldecode($this->uri->segment(5)) == $i ? 'alphabetActive':'');?>"></a>
									<?php endforeach;?>	
									<span class="alphabet_eng arrow"></span>
									<div class="clear"></div>	
								</div>								
							</div>						
						</div>
					</li>
					<li>
						<input type="text" value="<?php echo @$this->input->get('text');?>" name="artistSearchText" id="artistSearchText" placeholder="ค้นหาศิลปิน" class="inputSearchSub"/>
						<a href="<?php echo base_url().'search?text=';?>" class="btnSearchSub" onclick="javascript:artist_search($('#artistSearchText').val());return false;"></a>
					</li>
				</ul> 
				<!--Set arrow red to main-->
				<div id="main_to_music"></div>
			</div>